Skip to content

feat: add API action to manage object level permission on Products#395

Merged
tdruez merged 6 commits into
mainfrom
386-manage-permissions-api-action
Jun 30, 2026
Merged

feat: add API action to manage object level permission on Products#395
tdruez merged 6 commits into
mainfrom
386-manage-permissions-api-action

Conversation

@tdruez

@tdruez tdruez commented Oct 21, 2025

Copy link
Copy Markdown
Contributor

Issue: #386

  • Add dje/api_permissions.py with CanManageObjectPermissions, ObjectPermissionSerializer, and ObjectPermissionsMixin
  • Add GET/POST/DELETE /api/v2/products/{uuid}/permissions/ endpoint to ProductViewSet
  • Support assigning and removing object-level permissions for users and groups via the API
  • Add documentation for managing product object permissions via the REST API

@tdruez tdruez force-pushed the 386-manage-permissions-api-action branch from 5fd64b5 to dc0555c Compare June 29, 2026 04:56
Comment thread dje/api_permissions.py Fixed
Comment thread dje/api_permissions.py Fixed
tdruez added 5 commits June 29, 2026 11:44
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
Signed-off-by: tdruez <tdruez@aboutcode.org>
@tdruez tdruez changed the title Add API action to manage object level permission on Products feat: add API action to manage object level permission on Products Jun 29, 2026
@tdruez tdruez merged commit 1ddc619 into main Jun 30, 2026
8 of 9 checks passed
@tdruez tdruez deleted the 386-manage-permissions-api-action branch June 30, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants